-
Home
-
Smartcat Translator for WPML
-
3.1.27
-
Code
-
Classes
- Wpml
Total Complexity |
37 |
Dependencies |
2 |
Dependents |
6 |
Total lines |
206 |
Lines of code |
150 |
Logical lines of code |
74 |
Comment lines |
4 |
Methods |
19 |
Properties |
2 |
Methods 19
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getIdsBySourceElements() |
S |
55 |
7 |
19 |
getStrings() |
S |
52 |
3 |
25 |
getTranslationId() |
S |
62 |
3 |
11 |
getElementLanguages() |
S |
62 |
3 |
11 |
getActiveLocales() |
S |
62 |
3 |
11 |
getTargetElementId() |
S |
63 |
3 |
10 |
getPostLanguageName() |
S |
73 |
2 |
4 |
getPostLanguageCode() |
S |
73 |
2 |
4 |
getTranslatedPostIds() |
S |
59 |
1 |
14 |
makeDuplicate() |
S |
79 |
1 |
3 |
getActiveLanguages() |
S |
79 |
1 |
3 |
getTranslationsTable() |
S |
80 |
1 |
3 |
__construct() |
S |
73 |
1 |
5 |
registerString() |
S |
78 |
1 |
3 |
switchLang() |
S |
76 |
1 |
4 |
addTranslation() |
S |
64 |
1 |
10 |
getTranslations() |
S |
78 |
1 |
3 |
getTrid() |
S |
78 |
1 |
3 |
getPostLocale() |
S |
74 |
1 |
4 |